package com.example.nettyim.session;

import lombok.Data;

import java.util.Collections;
import java.util.Set;

/**
 * author :sherlock.lin
 * date : Created in 2023/2/13
 * description : 聊天室
 */
@Data
public class Group {
    private String name;
    private Set<String> members;

    public static final Group EMPTY_GROUP = new Group("empty", Collections.emptySet());

    public Group(String name, Set<String> members) {
        this.name = name;
        this.members = members;
    }
}
